<template>
  <el-card :style="{ background: '#ccc' }">
    <TopView />
    <MiddleView />
    <BottomView />
  </el-card>
</template>

<script lang="ts">
export default {
  name: "Home",
};
</script>
<script lang="ts" setup>
import { useDataStore } from "@/stores/reportData";
import TopView from "./components/TopView.vue";
import MiddleView from "./components/MiddleView.vue";
import BottomView from "./components/BottomView.vue";

const dataStore = useDataStore();

//请求初始数据
dataStore.getData();
</script>

<style scoped>
.home {
  width: 100%;
  height: 100%;
  padding: 20px;
  font-size: 30px;
}
</style>
